Skip to content

fix(execution): check a launch restored before it started as a fresh one - #833

Merged
harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/resume-fresh-checks
Dec 4, 2026
Merged

harenome merged 1 commit into
ThinkFlowLab:mainfrom
harenome:fix/resume-fresh-checks

Conversation

@harenome

@harenome harenome commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Closes #823

What

  • A restored run with no part on its target repeats the fresh checks (plan, key, docker, host) before sending one.
  • A host folder found without this run's part fails it: "cannot confirm the host folder belongs to this run; delete it and launch again".
  • Name check and launch saved strictly first.
  • Delete never offers a host folder the run never acquired.

Touches

execution.py; test_execution*.py, test_run_delete.py.

Verified

  • Repro: SIGKILL after the decision, key removed. Before: done. After: failed, credentials.
  • New tests fail before the fix.
  • Suites pass.

Risk

Agents

Claude Code, Opus 5.5
Codex, GPT-6.2-Astra (review)

@harenome
harenome marked this pull request as ready for review December 4, 2026 08:36
@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 4, 2026
@harenome
harenome merged commit 3570796 into ThinkFlowLab:main Dec 4, 2026
4 checks passed
@harenome
harenome deleted the fix/resume-fresh-checks branch December 4, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Tests pass, no conflict, no verdict on its latest commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Runs: a launch resumed after a restart before it started skips the fresh launch checks

1 participant